#ifndef SAVEH264_H
#define SAVEH264_H

#include "savebase.h"
#include <QDateTime>

/***
 *H264存储通用类
 * */

class SaveH264 : public SaveBase
{
    Q_OBJECT
public:
    SaveH264();

    void createNewFile();

public slots:
    void onWorking(const QString ip, const quint16 port, const QByteArray arr);

    void onStopTimer(); //停止定时器

    void onFileTimeOut();   //定时更换文件夹

    void onInitTimer()override;     //初始化定时器
};

#endif // SAVEH264_H
